<!--
	作者：956911785@qq.com
	时间：2019年5月16日14:27:09
	描述：学生-导入
-->

<template>
	<Modal title="摇号完成确定" v-model="modal0" width="500px">
		
			<div style="width:100%;height:100px; overflow-y:hidden;font-size: 14px;line-height:30px;">    
				<div style="width:10%;float:left;text-align: center;">   
		      		说明:
		        </div>  
		        <div style="width:90%;float:left;text-align: left;">   
		      		<p>1.如果摇号成功的数据已经全部导入完成,请点击确定</p>   
					<p>2.点击确定后,系统会将其余学生状态改为摇号未成功</p>  
		        </div>   
		   </div> 

	   	<div slot="footer">
	    	<Button type="text"  @click="closeModal()">取消</Button>
	    	<Button type="primary" @click="addsave()" >确定</Button>
	    </div>
     </Modal>
</template>

<script>
	export default {
		name:"bmcg",
		props: {
    	},
		data() {
			return {
                modal0:false,
               
			}
		},
		components: {
		},
		methods: {
            closeModal(){
	      	    this.modal0 = false;
	        },
	      
            addsave(){
            	//保存
				this.$http.post("/host/bmxt/student/notice_Student.html")
				.then(result => {
					if(result){
						this.$Modal.success({
                            title: "成功",
                            content: "摇号完成！",
                            onOk: () => {
                            	this.modal0 = false;
					    		this.$emit("reload");
                            }
                       });
					}else{
						this.$Modal.error({
                            title: "失败",
                            content: "修改失败！"
                        });	
					}
				});
           },
           
          
		},
		mounted() {
		
  			
		},
		watch:{
			
		},
		computed: {
			
		}
		
	}
</script>

<style scoped="scoped">
	
</style>



